package com.heima.apis.user;

import com.heima.model.common.dtos.common.ResponseResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient("leadnews-user")
public interface IUserClient {
    @GetMapping("/api/v1/user/user")
    public ResponseResult getUser(@RequestParam String userId);
}
